#注：对于每个CMAKE开头的全局作用变量一般都会有对应的target变量
#指定编译文件输出目录
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) #静态库  dll导入库
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) #可执行文件 动态库
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin) 
# set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/Bin)
# set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)